package com.example.demo.mapper;

import com.example.demo.model.entity.Userinfo;
import com.example.demo.model.vo.UserinfoVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2024-04-22
 * Time:14:34
 */
@Mapper
public interface UserMapper {
    //用户信息
    Userinfo getUserinfo(String username);
    //注册
    int reg(String username, String password);
    //信息
    UserinfoVO getUserByid(Integer id);
}
